﻿using EmoneyWeiXinDAL;
using EmoneyWeiXinEntity;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace EmoneyWeiXinBLL
{
    public class Active910BLL
    {
        public static void InsertShareRecord(string actName, string openid, int shareType)
        {
            Active910DAL.InsertShareRecord(actName, openid, shareType);
        }

        public static ActiveDataFor910Entity GetActiveData910(string openid)
        {
            return Active910DAL.GetActiveData910(openid);
        }

        public static int InsertNewActiveData(ActiveDataFor910Entity entity, string ActName, int isHaveRedBag, double t_money, int isSecond)
        {
            return Active910DAL.InsertNewActiveData(entity, ActName, isHaveRedBag, t_money, isSecond);
        }

        public static int InsertAddressInfo(AddressInfoFor910ActEntity entity)
        {
            return Active910DAL.InsertAddressInfo(entity);
        }

        public static DataTable GetTJData()
        {
            return Active910DAL.GetTJData();
        }

        public static double GetSumMoney()
        {
            return Active910DAL.GetSumMoney();
        }
    }
}
